/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.futco.sysconthos.Modelo.Admisiones.Daos;


import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author casher
 */
public interface IDAO<T> {

    void insert(T t) throws SQLException;

    void delete(T t) throws SQLException;

    List<T> getAll() throws SQLException;

    List<T> getAllBy(String t, String n) throws SQLException;

    T find(Integer id) throws SQLException;

    void update(String codigo, T t) throws SQLException;

}
